package com.example.demo.testso;

import com.example.demo.testso.task.TaskHandler;
import com.example.demo.testso.utils.WebSocketUtil;

import java.util.Timer;
import java.util.TimerTask;

public class Application {

    public static void main(String[] args) {
        //启动一个定时器
        TaskHandler taskHandler = new TaskHandler();

        //启动webSocket
        new WebSocketUtil(1024).start();

    }
}
